-- card: 12199 from stack: in -- bmap block id: 13003 -- flags: 4000 -- background id: 4754 -- name: Teacher Details ----- HyperTalk script ----- on rollingDemo answer "Teacher Details demo will take approx. 2 min." with "Cancel" or "OK" if it is "Cancel" then exit rollingDemo set the cursor to none lock screen go to card "Rolling Demo Instructions" of this background unlock screen with dissolve fast repeat until the mouseClick end repeat set the cursor to hand autoMouse moveMouse,420,60 click at the loc of bg button id 7 showInfo "Introduction",false wait 1 second set the cursor to hand autoMouse menuMouse,2,1 -- New Teacher… if the result is "Item not found" then -- test for XCMD bug send "doMenu New Teacher…" to background "Teacher Details" end if set the cursor to none wait 1 second type "100" wait 30 tabKey type "Mrs." wait 1 second click at the loc of button "Female" wait 1 second select text of card field "Last Name" type "Tesch" wait 30 tabKey type "Margaret" wait 30 tabKey type "Christine" wait 30 tabKey type "23rd Street" wait 30 tabKey type "Bellevue" wait 30 tabKey type "WA" wait 30 tabKey type "23498" wait 30 tabKey type "700 784 222" wait 30 tabKey type "555-6741" wait 30 tabKey type "555-8812" wait 1 second put "Jan 11, 60" into card field "Birthdate" wait 1 second put "July 24, 87" into card field "Date hired" wait 1 second put "English" into card field "Home language" wait 1 second put "Spanish" into card field "Ethnic Category" wait 2 seconds click at the loc of background button "TD Miscellaneous" wait 30 type "Mr. Terry Tesch" wait 30 tabKey type "NAZ Productions" wait 30 tabKey type "345-6789" wait 1 second click at the loc of button "Department Head" wait 2 seconds click at the loc of background button "TD Department" wait 1 second put "Science" into card field "Department" wait 1 second set the scroll of card field "Rooms" to 96 wait 30 select last line of card field "Rooms" wait 1 second put "115" into card field "Room #" wait 2 seconds click at the loc of background button "TD Scheduler" select empty showInfo "Scheduler",true wait 1 second put "9" into line 3 of card field "Course Preference" wait 1 second put "9" into line 4 of card field "Course Preference" wait 1 second put "9" into line 5 of card field "Course Preference" wait 1 second put "5" into line 6 of card field "Course Preference" wait 2 second select text of card field "Maximum" type "35" wait 2 second click at the loc of button "Room Preferences" wait 1 second put "Any Science Lab" & return & "-" into card field "Rooms" wait 1 second put "102 Science Lab" & return before card field "Rooms" wait 2 second click at the loc of background button "Done" lock screen send "doMenu About" to background "Teacher Details" end rollingDemo on showInfo fieldName,cardPict lock screen set the cursor to none restoreMenuBar false grayPicture cardPict installMenuBar 1180,1181,1182,1183,1184 show card field fieldName unlock screen with dissolve put the secs into temp repeat until the mouseClick if (the secs - temp) > 30 then show card field "Continue" end repeat lock screen hide card field fieldName hide card field "Continue" pop card unlock screen with dissolve if the optionKey is down then exit to HyperCard end showInfo -- part contents for background part 5 ----- text ----- Teacher Details -- part contents for background part 6 ----- text ----- The Teacher Details module allows you to enter information about each staff member in your school. In particular it tracks the following information: • personal details • spousal information • homeroom • teaching course load • departments • course teaching preferences • room preferences • and much more! This module is particularly important to the Scheduling module, because it contains the information necessary for the Scheduler to create school and teacher timetables.